const defaultState = {
	topicList: [
		{
			id: 1,
			title: "社会热点",
			imageURL: "https://th.wallhaven.cc/small/8o/8oky1j.jpg",
		},
		{
			id: 2,
			title: "本周精选",
			imageURL: "https://th.wallhaven.cc/small/e7/e7ek7k.jpg",
		},
		{
			id: 3,
			title: "黑客帝国",
			imageURL: "https://th.wallhaven.cc/small/8o/8oev1j.jpg",
		},
		{
			id: 4,
			title: "焦点",
			imageURL: "https://th.wallhaven.cc/small/72/72jwp3.jpg",
		},
	],
	articleList: [1, 2, 3, 5, 6, 7, 8, 9],
}

const reducer = (state = defaultState, action: { type: "IFocusActionType"; payload: any }) => {
	return {
		topicList: state.topicList,
		articleList: state.articleList,
	}
}

export default reducer
